<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'reservator-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'NAMA_RESERVATOR'); ?>
		<?php echo $form->textField($model,'NAMA_RESERVATOR',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'NAMA_RESERVATOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'EMAIL_RESERVATOR'); ?>
		<?php echo $form->textField($model,'EMAIL_RESERVATOR',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'EMAIL_RESERVATOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ALAMAT_RESERVATOR'); ?>
		<?php echo $form->textArea($model,'ALAMAT_RESERVATOR',array('rows'=>5,'col'=>50)); ?>
		<?php echo $form->error($model,'ALAMAT_RESERVATOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'NO_HAPE_RESERVATOR'); ?>
		<?php echo $form->textField($model,'NO_HAPE_RESERVATOR',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'NO_HAPE_RESERVATOR'); ?>
	</div>
   
   <div class="row">
		<?php echo $form->labelEx($model2,'JAM_TRANSAKSI'); ?> 
		<?php echo $form->textField($model2,'JAM_TRANSAKSI'); ?>
		<?php echo $form->error($model2,'JAM_TRANSAKSI'); ?>
	</div>
    
  	<div class="row">
		<?php echo $form->labelEx($model2,'JUMLAH_PENUMPANG'); ?>
		<?php echo $form->textField($model2,'JUMLAH_PENUMPANG'); ?>
		<?php echo $form->error($model2,'JUMLAH_PENUMPANG'); ?>
	</div>
    
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->